package com.wolfeyes.system.service.impl;

import com.wolfeyes.system.domain.SysActorMovie;
import com.wolfeyes.system.mapper.SysActorMovieMapper;
import com.wolfeyes.system.service.SysActorMovieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @see Talk is cheap, Show me the code. -- Linus Torvalds
 * @title 电影演员映射器-Mapper接口
 * @author yanyljava
 * @email yanyljava@qq.com
 * @create 2022-01-17 10:28
*/
@Service
public class SysActorMovieServiceImpl implements SysActorMovieService {

	@Autowired
	private SysActorMovieMapper sysActorMovieMapper;

	@Override
	public List<SysActorMovie> findAll(SysActorMovie sysActorMovie) {
		return sysActorMovieMapper.findAll(sysActorMovie);
	}

	@Override
	public int add(SysActorMovie sysActorMovie) {
		return sysActorMovieMapper.add(sysActorMovie);
	}

	@Override
	public int delete(SysActorMovie sysActorMovie) {
		return sysActorMovieMapper.delete(sysActorMovie);
	}
}
